#include "linkedlist.h"

int main(int argc, char const *argv[]) {
    LinkList lnkListWithoutHeadNode;
    initListWithoutHeadNode(&lnkListWithoutHeadNode);
    appendCreateListWithoutHeadNode(&lnkListWithoutHeadNode);
    prependCreateListWithoutHeadNode(&lnkListWithoutHeadNode);

    printf("Linked list without head node:\n");
    displayListWithoutHeadNode(lnkListWithoutHeadNode);

    LinkList lnkList;
    initList(&lnkList);
    appendCreateList(&lnkList);
    prependCreateList(&lnkList);

    printf("\nLinked list with head node:\n");
    displayList(lnkList);

    return 0;
}